Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Thu, 22 Jan 2026 22:10:02 +0000 (23:10 +0100)
committerMoritz Muehlenhoff <jmm@debian.org>
Thu, 22 Jan 2026 22:10:02 +0000 (23:10 +0100)
commitbbbb7db0bbeb9daaac93fb83225216c4b7a6a75e
treecfe0a17224828c2cd3656562411ff2ac5b4965c8
parent31f2d9292984d0da484967fa164e9f92dadea764
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp